//
//  RCAssertUtil.h
//  AutoInsurance
//
//  Created by surfing on 12-8-23.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "StringUtils.h"
#define RCAssertArgNotNil(obj2Check)	\
if(obj2Check==nil){ \
    NSString* errorMsg = nil;\
    errorMsg = [NSString stringWithFormat:@"argument[%@] expected not nil",#obj2Check];\
    NSLog(errorMsg);\
} 

#define RCAssertArgNotEmpty(str2Check)  \
if(![str2Check isNotEmpty]){ \
    NSString* errorMsg = nil;\
    errorMsg = [NSString stringWithFormat:@"argument[%@] expected not nil",#str2Check];\
    NSLog(errorMsg);\
} 


